package org.qpcr.community.device.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hswebframework.ezorm.rdb.mapping.annotation.DefaultValue;
import org.hswebframework.web.bean.FastBeanCopier;
import org.hswebframework.web.crud.generator.Generators;
import org.qpcr.community.device.entity.DeviceInstanceEntity;
import org.qpcr.community.device.entity.DeviceProductEntity;
import org.qpcr.community.device.enums.DeviceState;
import org.springframework.util.CollectionUtils;
import org.springframework.util.StringUtils;

import javax.persistence.Column;
import java.util.Map;

/**
 * @author bsetfeng
 * @since 1.0
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class DeviceDeptRelateResponse {
    //关系ID
    private String id;
    //设备ID
    private String deviceId;
    //设备实例名称
    private String name;
    //产品ID
    private String productId;
    //产品名称
    private String productName;

     //创建人ID
    private String creatorId;

    //创建人
    private String creatorName;

    //创建时间
    private Long createTime;


}
